package cn.tworice.admin.web;

import com.lmk.core.web.support.api.RequestResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("admin/index")
@Slf4j
@CrossOrigin
public class IndexController {

    @GetMapping()
    public RequestResult index(){
        return new RequestResult();
    }

}
